package com.ky.manage.model;

import java.io.Serializable;

/**
 * 用户信息
 */
public class LoginUserInfo implements Serializable {
    public int userId = -1;
    public String userName = "";
    public String nickName = "";
    public String userHeadUrl = "";
    public String phone = "";
    //登陆密码
    public String pwd = "";
    //0: 男，1：女
    public String sex = "";
    public String idCardValue = "";//身份证号
    public String addressRegion = "";//所属区域
    public String addressRegionCode = "";//所属区域code
    public String addressDetail = "";//详细地址
    public String ewCodeValue = "";//二维码值
    public String ewCodeUrl = "";//二维码图片
    //用户角色
    public String userTypeDesc = "";
    public boolean isLogin;//false: 未登录或登录失效
    //网点id
    public int businessOutletsId =  -1;

    public LoginUserInfo() {
    }

    public LoginUserInfo(boolean isLogin) {
        this.isLogin = isLogin;
    }

    @Override
    public String toString() {
        return "LoginUserInfo{" +
                "userName='" + userName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", userHeadUrl='" + userHeadUrl + '\'' +
                ", phone='" + phone + '\'' +
                ", pwd='" + pwd + '\'' +
                ", sex='" + sex + '\'' +
                ", idCardValue='" + idCardValue + '\'' +
                ", addressRegion='" + addressRegion + '\'' +
                ", addressRegionCode='" + addressRegionCode + '\'' +
                ", addressDetail='" + addressDetail + '\'' +
                ", ewCodeValue='" + ewCodeValue + '\'' +
                ", ewCodeUrl='" + ewCodeUrl + '\'' +
                ", userTypeDesc='" + userTypeDesc + '\'' +
                ", isLogin=" + isLogin +
                '}';
    }
}
